package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\withdraw.xlsx")
public class WithdrawWorkbook {
	@ExcelSheet
	@JsonProperty("提现记录表")
	private List<WithdrawRow> withdrawRows;

	public static class WithdrawRow {

		@JsonProperty("商户名称")
		private String merchantName;
		
		@JsonProperty("提现金额")
		private BigDecimal money;
		
		@JsonProperty("开户行")
		private String bankCode;

		@JsonProperty("银行账号")
		private String encBankNo;

		@JsonProperty("账户名称")
		private String encTrueName;

		@JsonProperty("提现状态")
		private String statusName;

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public BigDecimal getMoney() {
			return money;
		}

		public void setMoney(BigDecimal money) {
			this.money = money;
		}

		public String getBankCode() {
			return bankCode;
		}

		public void setBankCode(String bankCode) {
			this.bankCode = bankCode;
		}

		public String getEncBankNo() {
			return encBankNo;
		}

		public void setEncBankNo(String encBankNo) {
			this.encBankNo = encBankNo;
		}

		public String getEncTrueName() {
			return encTrueName;
		}

		public void setEncTrueName(String encTrueName) {
			this.encTrueName = encTrueName;
		}

		public String getStatusName() {
			return statusName == null ? "" : statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}
	}

	public List<WithdrawRow> getWithdrawRows() {
		return withdrawRows;
	}

	public void setWithdrawRows(List<WithdrawRow> withdrawRows) {
		this.withdrawRows = withdrawRows;
	}
}
